package com.ruoyi.xiche.mapper;

import com.ruoyi.xiche.domain.ServiceItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author wangruoyang
* @description 针对表【service_item(服务项目表)】的数据库操作Mapper
* @createDate 2025-03-17 19:32:42
* @Entity com.ruoyi.xiche.domain.ServiceItem
*/
@Mapper
public interface ServiceItemMapper extends BaseMapper<ServiceItem> {

    @Select("SELECT * FROM service_item WHERE store_id = #{storeId}")
    List<ServiceItem> getServiceItemsByStoreId(@Param("storeId") Long storeId);
}




